package com.lo.service;

import com.lo.common.JsonResult;

public interface RecommendService {
    /*
     * @description: 推荐算法
     * @param userid:用户id
     * @return com.lo.common.JsonResult
     * @author: ZijianZhao
     * @date: 2024/3/13 15:50
     */
    JsonResult selectRecommendation(Long userid);
//
//    JsonResult addUserRate(Long userId);
//
//
//    JsonResult updateUserRatings(Long userId, Long courseId, double rate);
//
//    JsonResult selectUserRatesById(Long userId);
//
//    JsonResult LikeCourse(Long userId, Long courseId);
//
//    JsonResult UnLikeCourse(Long userId, Long courseId);
//
    JsonResult deleteUserAllRateById(Long userid,Long courseid);

    JsonResult update(Long userId,Long courseId,int option);


    JsonResult getLike(Long userId, Long courseId);
}
